package com.domain;

import java.math.BigDecimal;

public class TbMaterial {
    private String name;

    private String brand;

    private String unit;

    private BigDecimal unitCost;

    private String preferentialStrategy;

    private BigDecimal primeCost;

    private Long supplierId;

    private Boolean deleted;

    private String materialInfo;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand == null ? null : brand.trim();
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public BigDecimal getUnitCost() {
        return unitCost;
    }

    public void setUnitCost(BigDecimal unitCost) {
        this.unitCost = unitCost;
    }

    public String getPreferentialStrategy() {
        return preferentialStrategy;
    }

    public void setPreferentialStrategy(String preferentialStrategy) {
        this.preferentialStrategy = preferentialStrategy == null ? null : preferentialStrategy.trim();
    }

    public BigDecimal getPrimeCost() {
        return primeCost;
    }

    public void setPrimeCost(BigDecimal primeCost) {
        this.primeCost = primeCost;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public String getMaterialInfo() {
        return materialInfo;
    }

    public void setMaterialInfo(String materialInfo) {
        this.materialInfo = materialInfo == null ? null : materialInfo.trim();
    }
}